package com.atguigu.springcloud.cloudsentinelgatewaydevelop.bean.dto;

import com.alibaba.csp.sentinel.slots.block.flow.ClusterFlowConfig;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class SentinelFlowRuleDTO {

  private static final long serialVersionUID = -1716710215155550100L;

  private long id;
  private String applicationName;
  private String resource;
  private Boolean clusterMode;
  @JsonProperty(value = "clusterConfig")
  private ClusterFlowConfig clusterConfig;
  private Integer controlBehavior;
  private Double count;
  private Integer grade;
  private Integer maxQueueingTimeMs;
  private String refResource;
  private Integer strategy;
  private Integer warmUpPeriodSec;
  private String limitApp;

}
